<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  {% import 'index.html' as obj %}
  <!-- 有默认参数，不会替换 -->
  {{obj.pet("公")}}
  {{obj.person("张张","男")}}
</body>
</html>